package com.example.ktapplication.state

import com.example.ktapplication.bean.RegisterBean

sealed class RegisterState {
    //成功
    data class OnSuccess(var register: RegisterBean?) : RegisterState()
    //失败
    data class OnError(var exception: Throwable?) : RegisterState()
}